import {http_post} from "./util";

const listServices = (done) => { return http_post('/list_services', {}, done) }

const listSubServices = (data, done) => { return http_post('/list_sub_services', data, done) }

const listBanner = (done) => { return http_post('/list_index_banaer', {}, done) }

const listOrder = (data, done) => { return http_post('/order/list', data, done) }

const GetOrderDetail = (data, done) => { return http_post('/order/detail', data, done) }

const listAddress = (done) => {return http_post('/user/address/list', {}, done)}

module.exports = {
    listServices: listServices,
    listSubServices: listSubServices,
    listBanner: listBanner,
    listOrder: listOrder,
    GetOrderDetail:GetOrderDetail,
    listAddress:listAddress
}


